const qs = require('node:querystring')
const url = require('node:url')
let str = 'https://cn.bing.com/search?q=%E5%8F%8B%E5%88%A9%E5%A5%88%E7%BB%AA'
let {query} = url.parse(str)
console.log(qs.parse(query))
var queryObj = {
    
}

var str1 ='友利奈绪'

var str2 = qs.escape(str1)

console.log(qs.unescape(str2))

console.log(qs.stringify(queryObj))